package com.alibaba.csp.sentinel.dashboard.rule.apollo;

import com.alibaba.csp.sentinel.dashboard.datasource.entity.rule.FlowRuleEntity;

/**
 * FlowRuleApolloService
 *
 * @author kancy
 * @date 2020/5/4 15:27
 */
public class FlowRuleApolloService extends DynamicRuleApolloService<FlowRuleEntity> {
    /**
     * 获取数据ID
     *
     * @param appName
     * @return
     */
    @Override
    protected String getDataId(String appName) {
        return getApolloProperties().getFlowDataId();
    }
}

